<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 10/20/14
 * Time: 8:33 PM
 */


global $confResources;
$confResources = new \message\MessageResources();
$confResources->addFile(array("conf/db.conf"), "def");

function getConfValue($key) {
  global $confResources;
  return $confResources->getMessageByKey($key, "def");
}